Carbon


FlushVol

Header: Files.h Carbon status: Supported

Writes the contents of the volume buffer and update information about the volume.

OSErr FlushVol (
    ConstStr63Param volName, 
    SInt16 vRefNum
);
Parameter descriptions
volName

The name of a mounted volume.

vRefNum

A volume reference number, a working directory reference number, a drive number, or 0 for the default volume.

function result

A result code.

DISCUSSION

On the specified volume, the FlushVol function writes the contents of the associated volume buffer and descriptive information about the volume (if they’ve changed since the last time FlushVol was called). This information is written to the volume.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)